package com.atguigu.jinx.service;

import com.alipay.api.AlipayApiException;
import com.atguigu.jinx.entity.dto.RechargeOrder;
import com.atguigu.jinx.entity.vo.PayAsyncVo;
import com.baomidou.mybatisplus.extension.service.IService;
import jakarta.servlet.http.HttpServletResponse;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author steve
 * @since 2025-08-07
 */
public interface IRechargeOrderService extends IService<RechargeOrder> {

    /**
     * 处理回调
     *
     * @param payAsyncVo 回调参数
     * @param response
     * @return 处理结果
     */
    String dealNotify(PayAsyncVo payAsyncVo, HttpServletResponse response) throws AlipayApiException;
}
